var express = require('express')
var path = require('path')

var app = express()

app.use(express.static(__dirname))

app.get('*', function(req, res) {
  res.sendFile(path.join(__dirname, 'index.html'))
})

var PORT = process.env.PORT || 9000
app.listen(PORT, function() {
  console.log('Production Express server running at prot: ' + PORT)
})